﻿<UserControl x:Class="WowModelExplorer.Controls.SliderSelector"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             d:DesignHeight="30"
             d:DesignWidth="300"
             mc:Ignorable="d">
    <Grid>
        <Grid.Resources>
            <Style TargetType="{x:Type TextBlock}">
                <Setter Property="Foreground" Value="{DynamicResource TextBrush}" />
            </Style>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.8*" />
            <ColumnDefinition Width="0.4*" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <TextBlock Name="_desc"
                   Grid.Column="0"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Center" />
        <TextBlock Name="_text"
                   Grid.Column="1"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Center" />
        <ScrollBar Name="_scrollbar"
                   Grid.Column="2"
                   Orientation="Horizontal"
                   SmallChange="1"
                   ValueChanged="_scrollbar_ValueChanged" />
    </Grid>
</UserControl>
